package com.bicon.botu.medical.model.entity

import com.baomidou.mybatisplus.annotations.TableField
import com.baomidou.mybatisplus.annotations.TableName
import com.bicon.botu.core.base.repository.mybatis.UuidBaseEntity

/**
 * @version 1.0.0
 * @author: Gyb
 * @date 2018/7/17
 * @description 食物和计量单位关系表
 **/
@TableName("food_unit")
data class FoodUnit(
        /**
         * 食物id
         */
        @TableField("food_id")
        val foodId: Int? = null,
        /**
         * 单位id
         */
        @TableField("unit_id")
        val unitId: String? = null,
        /**
         * 单位值
         */
        @TableField("unit_value")
        val unitValue: Int? = null
) : UuidBaseEntity<FoodUnit>()